import { RouteRecordRaw } from "vue-router";
import { EmptyLayout } from "@scmt/common-components";
import { route as SpecimenRoute } from "./specimen";
import { route as EquipmentRoute } from "./equipment";
import { route as ExaminationRoute } from "./examination";
import { route as TubeRoute } from "./tube";
import { route as ProjectRoute } from "./project";
import { route as CombinedRoute } from "./combined";
import { route as InspectGroupRoute } from "./inspect-group";
import { route as LisDataRoute } from "./lis-data";
import { route as TemplateRoute } from "./template";

export const routes: Array<RouteRecordRaw> = [
  {
    path: "manage",
    component: EmptyLayout,
    meta: {
      title: "管理",
    },
    children: [
      EquipmentRoute,
      ExaminationRoute,
      TubeRoute,
      SpecimenRoute,
      ProjectRoute,
      CombinedRoute,
      InspectGroupRoute,
      LisDataRoute,
      TemplateRoute,
    ],
  },
];
